package cn.tedu.logistics.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 权限类
 * 
 * @author soft01
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_purviews")
public class Purview {
	@TableId(type=IdType.AUTO)
	private Integer id;
	@TableField(exist = false)
	private String admin;
	/* 系统设置 */
	private Integer sysset;
	/* 读者管理 */
	private Integer readerset;
	/* 图书管理 */
	private Integer bookset;
	/* 图书节还 */
	private Integer borrowback;
	/* 系统查询 */
	private Integer sysquery;

//	public Purview() {
//	};

//	public Purview(Integer id, Integer sysset, Integer readerset, Integer bookset, Integer borrowback,
//			Integer sysquery) {
//		super();
//		this.id = id;
//		this.sysset = sysset;
//		this.readerset = readerset;
//		this.bookset = bookset;
//		this.borrowback = borrowback;
//		this.sysquery = sysquery;
//	}

//	public Purview(Integer id, String admin, Integer sysset, Integer readerset, Integer bookset, Integer borrowback,
//			Integer sysquery) {
//		this(id, sysset,  readerset,  bookset,  borrowback,	 sysquery);
//		this.admin = admin;
//
//	}



}
